package com.maven.ioc.controller;


import com.maven.ioc.model.UserInfo;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RestController;


// 该注解类似于  控制器存储
// 这里告诉 spring 需要管理，而 spring 就会 先 在 后面构建一个 相应的对象
@Controller
@RestController
public class UserController {


    public void u1() {
        System.out.println("UserController1 ......");
    }






}
